#pragma once
#include<stdio.h>
#include<string.h>
#include<assert.h>
#define NAME_MAX  20
#define TELE_MAX  20
#define ADDR_MAX  30
#define MAX  1000

typedef struct people {
	char name[NAME_MAX];
	int age;
	char tele[TELE_MAX];
	char addr[ADDR_MAX];
}people;

typedef struct contact {
	people data[MAX];
	int sz;
}contact;


void Initcontact(contact *pc);
void ShowContact(const contact* pc);
void AddContact(contact* pc);
void DelContact(contact* pc);
void SearchContact(contact* pc);
void ModifyContact(contact* pc);
void Sort(contact* pc);